import request from '@/utils/http'

// 获取订单详情
export const getCheckInfoAPI = () => {
  return request({
    url: '/member/order/pre',
    method: 'GET',
  })
}

// 创建订单
export const createOrderAPI = (data) => {
  return request({
    url: '/member/order',
    method: 'POST',
    data,
  })
}
